#ifndef __TASK_H_
#define __TASK_H_

#include <rtthread.h>
#include "Beep.h"
#include "button.h"
#include "GA6.h"
#include "DHT11.h"
#include "OLED12864.h"
#include "Senser.h"
#include "ISD1820.h"
#include "rtc.h"

#define THREAD_PRIORITYS 		25
#define THREAD_STACK_SIZES		256
#define THREAD_TIMESLICES		5

#define THREAD_OLED_PRIORITYS  		12
#define THREAD_SENDDATA_PRIORITYS 	10
#define THREAD_ZDBCF_PRIORITYS		11
#define THREAD__SENOR_CkPRIORITYS	9
#define THREAD__BUTCTRL_CkPRIORITYS	8
#define THREAD__ALART_PRIORITYS		7

int Thread_Creatask(void);
#endif	/*__TASK_H_*/